Freescale Semiconductor /MKE18F16 /MSCM /OCMDR0

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as OCMDR0

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0OCMC00OCMC10OCMC20 (0)OCMPU 0OCMT0 (0)RO 0OCMW0 (0000)OCMSZ0 (0)OCMSZH 0 (0)V

OCMSZH=0, OCMPU=0, RO=0, V=0, OCMSZ=0000

Description

On-Chip Memory Descriptor Register

Fields

OCMC0

OCMEM Control Field 0

OCMC1

OCMEM Control Field 1

OCMC2

OCMEM Control Field 2

OCMPU

OCMEM Memory Protection Unit

0 (0): OCMEMn is not protected by an MPU.

1 (1): OCMEMn is protected by an MPU.

OCMT

OCMEM Type. This field defines the type of the on-chip memory:

3 (011): OCMEMn is a ROM.

4 (100): OCMEMn is a program flash.

5 (101): OCMEMn is a data flash.

6 (110): OCMEMn is an EEE.

RO

Read-Only

0 (0): writes to the OCMDRn[11:0] are allowed

1 (1): writes to the OCMDRn[11:0] are ignored

OCMW

OCMEM datapath Width. This read-only field defines the width of the on-chip memory:

2 (010): OCMEMn 32-bits wide

3 (011): OCMEMn 64-bits wide

4 (100): OCMEMn 128-bits wide

5 (101): OCMEMn 256-bits wide

OCMSZ

OCMEM Size

0 (0000): no OCMEMn

3 (0011): 4KB OCMEMn

4 (0100): 8KB OCMEMn

5 (0101): 16KB OCMEMn

6 (0110): 32KB OCMEMn

7 (0111): 64KB OCMEMn

8 (1000): 128KB OCMEMn

9 (1001): 256KB OCMEMn

10 (1010): 512KB OCMEMn

11 (1011): 1024KB OCMEMn

12 (1100): 2048KB OCMEMn

13 (1101): 4096KB OCMEMn

14 (1110): 8192KB OCMEMn

15 (1111): 16384KB OCMEMn

OCMSZH

OCMEM Size “Hole”

0 (0): OCMEMn is a power-of-2 capacity.

1 (1): OCMEMn is not a power-of-2, with a capacity is 0.75 * OCMSZ.

V

OCMEM Valid bit. This read-only field defines the validity (presence) of the on-chip memory

0 (0): OCMEMn is not present.

1 (1): OCMEMn is present.

Links

() ()